<?php echo View::factory('admin/sys/sys_left')->render(); ?>
<script charset="utf-8" src="/media/js/editor/kindeditor.js"></script>
<script type="text/javascript" src="/media/js/my_validation.js"></script>
<script>
    
   /****************编辑器 加载开始******************/
    var editor;
    KindEditor.ready(function(K) {
        editor = K.create('#chr_content');
    });
    /****************编辑器 加载结束******************/    
    
</script>
<div id="do_right" class="catalog_right">
    <div class="box" style="overflow:hidden;">
        <h3 id="h3_left">添加邮件模板</h3>
        <div id="right_button"><a href="/admin/email/list"><button id="back">返回邮件列表</button></a></div>
        <div class="clear"></div>
        
        <form method="post" action="/admin/email/add/" class="need_validation" id="commentForm">
            <div id="tabs">
                <ul>
                    <li><a href="#tabs-1">基本资料</a></li>
                </ul>
                <!--START tabs-1 -->
                <div id="tabs-1">
                    <ul>
                        <li>
                            <label for="chr_name" class="lable_title">邮件名称<span class="req">*</span></label>
                            <input name="chr_name" id="chr_name" class="text medium required" type="text" value=""/>
                        </li>
                         <li>
                            <label for="chr_type" class="lable_title">邮件标识<span class="req">*</span></label>
                            <input name="chr_type" id="chr_type" class="text medium required" type="text" value=""/>
                        </li>
                        <li>
                            <label for="chr_title" class="lable_title">网站title<span class="req">*</span></label>
                            <input name="chr_title" id="chr_title" class="text medium required"  value=""/>
                        </li>
                        <li>
                            <label for="chr_content" class="lable_title" style="margin-right: 30px;">网站介绍</label>
                             <textarea name="chr_content" id="chr_content" class="textarea" style="width:700px;height:400px;"></textarea>
                        </li>
                     

                    </ul>
                    <div style="clear:both;"></div>
                </div>
                <!--END tabs-1 -->
            </div>
            <ul>
                <li style="text-align: center;">
                    <input value="保存" class="button" type="submit"/>
                </li>
            </ul>
        </form>
    </div>
</div>
